package com.yanqu.road.server.cmd.wingroom.shareevent;

import com.yanqu.road.server.command.Cmd;
import com.yanqu.road.server.command.Command;
import com.yanqu.road.server.manger.wingroom.WingRoomMgr;
import com.yanqu.road.message.YanQuMessage;
import com.yanqu.road.server.protocol.GameProtocol;
import io.netty.channel.ChannelHandlerContext;

/**
 * @author ：zfr
 * @date ：2022/3/24 21:14
 */
@Cmd(code = GameProtocol.S_WING_ROOM_SYNC_ALL_EVENT_RESP, desc = "同步事件返回")
public class SyncCrossEventRespCmd implements Command {
    @Override
    public void execute(ChannelHandlerContext ctx, YanQuMessage packet) throws Exception {
        WingRoomMgr.syncAllEventResp();
    }
}
